import axios from 'axios'

const api = axios.create({
    baseURL: '/',
    timeout: 10000
})

// 请求拦截
api.interceptors.request.use((req)=>{
    return req;
});

// 返回拦截
api.interceptors.response.use((resp)=>{
    return resp;
});

export default api;